package com.test.bo;

import java.util.ArrayList;

import com.alorm.core.annotation.EntityClass;

@EntityClass
public class Etudiant {

	private long idEtudiant;
	private String nom;
	private String prenom;
	private Livre livre;
	private ArrayList<Test>  t;

	public Etudiant() {
		super();
	}

	public Etudiant(String nom, String prenom) {
		super();
		this.nom = nom;
		this.prenom = prenom;
	}

	public Etudiant(int id, String nom, String prenom) {
		super();
		this.idEtudiant = id;
		this.nom = nom;
		this.prenom = prenom;
	}

	public Etudiant(String nom, String prenom,Livre livre) {
		 
		this.nom = nom;
		this.prenom = prenom;
		this.livre=livre;
	}
	

	public long getIdEtudiant() {
		return idEtudiant;
	}

	public void setIdEtudiant(long idEtudiant) {
		this.idEtudiant = idEtudiant;
	}

	public ArrayList<Test> getT() {
		return t;
	}

	public void setT(ArrayList<Test> t) {
		this.t = t;
	}

	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public String getPrenom() {
		return prenom;
	}

	public void setPrenom(String prenom) {
		this.prenom = prenom;
	}

	public Livre getLivre() {
		return livre;
	}

	public void setLivre(Livre livre) {
		this.livre = livre;
	}

}
